home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 201-220 / scopedisk216 / smartdisk / readme < prev    next >
Encoding:
Text File  |  1995-03-20  |  2.0 KB  |  49 lines

  1.  
  2. This si SmartDisk, written by David Le Blanc.
  3.  
  4. It is an '8-Way set associative' cache, with 8 sets, lines of 4 sectors with
  5. prefetch, and 32 lines. If you under stand cache jargon, then you'd know that
  6. adds up to:
  7.  
  8. 32*4*8*512 = 524288 or 512K and sectors are 'prefetched' four at a time.
  9.  
  10. The frefetch strips time of program loading and directories. It may 
  11. work against you on a heavily fragmented disk, but there is a general
  12. noticable gain in performance EVEN when the data you want is not in
  13. the cache.
  14.  
  15. So, this cache uses 512k, which gets allocated as the cache expands.
  16. There are a few limitations, but thats only because all parameters are
  17. hard coded into the source.
  18.  
  19. Since you cannot specify the type of drive you have, there are three versions
  20. in the archive.
  21.  
  22. SmartDisk.xt      : Any xt.device user (A590 xt/ide drive)
  23. SmartDisk.scsi    : Any scsi.device user, (a590 scsi, A2091 etc)
  24. SmartDisk.gvpscsi : Any gvpscsi.device user, namely all GVP controllers.
  25.  
  26.  * SmartDisk 1.3.
  27.  *
  28.  * Created by David Le Blanc 29/10/91 Absolutely no copywrite. But if you improve
  29.  * it, please send me a new version (with source!) 
  30.  * 
  31.  * Some performance quotes: (Doesn't everyone make these??)
  32.  * Background:  I have a directory called MAN: which has 355 manuals.
  33.  *
  34.  * WARNING: These are bad examples, since a 'dir' reads the disk, then sorts the
  35.  * contents, then writes the data to the screen. These times include the sorting
  36.  * and output of the directory. This sorting and output time is in the order
  37.  * of 1.5 to 2 seconds.
  38.  *
  39.  * Normal DIR MAN:        12 seconds
  40.  * Cache enabled but empty      9  seconds (prefetch does work!) 
  41.  * Cache primed                 5  seconds.
  42.  *
  43.  * With a slower drive and/or faster machine these times can only improve.
  44.  * I have a drive capable of 800k/sec on my unaccelerated A500. Those with
  45.  * a 150K/sec A590 would notice a greater performance boost. Same for those
  46.  * with 'bloody fast machines' (grumble :) If I was REALLY worried about making
  47.  * the statistic look good, then I'd test it on an A590.
  48.  *
  49.